package com.itheima.domain;

import com.itheima.base.BasePojo;
//import com.itheima.dao.CategoryDao;
//import com.itheima.exception.NoDataException;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.io.Serializable;

@Data
@Component
@Slf4j
public class Dish extends BasePojo implements Serializable {
//    @Autowired
//    private CategoryDao categoryDao;

    private String id;
    private Integer type;

      private String name;
      private String categoryId;

    private String price;
      private String code;
      private String image;
      private String description;
      private String status;
      private Integer sort;

      private String categoryName;

}
